package com.codeyang.feign;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestParam;

@FeignClient(value = "pay-service")
public interface OrderPayFeign {

    /**
     * 远程调用查询订单结果
     *
     * @param orderNum
     * @return
     */
    @PostMapping("confirmPayStatus")
    Boolean confirmPayStatus(@RequestParam String orderNum);


}